class LaGouCount:
    lagou_count = 0

    @staticmethod
    def get_count(error=None):
        if error:
            LaGouCount.lagou_count = LaGouCount.lagou_count + 1
        else:
            LaGouCount.lagou_count = 0

        return LaGouCount.lagou_count


class ZhiPinCount:
    zhipin_count = 0

    @staticmethod
    def get_count(error=None):
        if error:
            ZhiPinCount.zhipin_count = ZhiPinCount.zhipin_count + 1
        else:
            ZhiPinCount.zhipin_count = 0

        return ZhiPinCount.zhipin_count
